|
![](/i/fill.gif) |
"St." <dot### [at] dot com> wrote in message news:4640af6e@news.povray.org...
> Could you? I'd love to try that.
Here you go.
#macro Bubbles (StartPoint, EndPoint,Spacing,Size,rs)
union {
#local rnd=seed(rs);
#local Count = (EndPoint.y-StartPoint.y)/Spacing;
#local i=0;
#while (i<Count)
sphere {
<0,0,0>,Size*(0.8+rand(rnd)*0.4)
scale <1,0.7,1>
translate <(rand(rnd)-0.5)*Spacing*0.5,i*Spacing +
(rand(rnd)-0.5)*Spacing,(rand(rnd)-0.5)*Spacing*0.5>
material {
texture {
pigment {rgbf <1,1,1,0.99>}
finish {specular 0.8 reflection {0.1,0.5 fresnel}}
}
interior {ior 1.0}
}
//pigment {Red}
hollow
}
#local i=i+1;
#end
translate StartPoint
}
#end
Sample call:
object {
Bubbles(<0.2,0.1,0>,<0.2,1.775,0>,0.075,0.0085,floor(rand(rnd)*10000))
}
> Hmm... been thinking about this, and all I could come up with is that
> if they were struggling (to get out maybe?), then that would make it
obvious
> to the veiwer that they don't want to be there. Tricky though, as you
would
> have to get the poses just right to achieve that, I think.
That's what I'm trying, with one of them. Looking promising.
Update maybe later this week
Post a reply to this message
|
![](/i/fill.gif) |